-
Notifications
You must be signed in to change notification settings - Fork 22
chore(deps): update dependency prettier to v3.8.0 #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
e5858de to
5432212
Compare
5432212 to
2974ae8
Compare
2974ae8 to
83e05b2
Compare
83e05b2 to
f38aa8a
Compare
f38aa8a to
0ab2d68
Compare
2795b90 to
668cf6f
Compare
668cf6f to
11c6dc0
Compare
11c6dc0 to
d20f828
Compare
d20f828 to
9971a88
Compare
9971a88 to
acb2928
Compare
551c718 to
b65a242
Compare
b65a242 to
5213459
Compare
5213459 to
d63cc54
Compare
This PR contains the following updates:
3.2.5β3.8.0Release Notes
prettier/prettier (prettier)
v3.8.0Compare Source
diff
π Release note
v3.7.4Compare Source
diff
LWC: Avoid quote around interpolations (#β18383 by @βkovsu)
TypeScript: Fix comment inside union type gets duplicated (#β18393 by @βfisker)
TypeScript: Fix unstable comment print in union type comments (#β18395 by @βfisker)
v3.7.3Compare Source
diff
API: Fix
prettier.getFileInfo()change that breaks VSCode extension (#β18375 by @βfisker)An internal refactor accidentally broke the VSCode extension plugin loading.
v3.7.2Compare Source
diff
JavaScript: Fix string print when switching quotes (#β18351 by @βfisker)
JavaScript: Preserve quote for embedded HTML attribute values (#β18352 by @βkovsu)
TypeScript: Fix comment in empty type literal (#β18364 by @βfisker)
v3.7.1Compare Source
diff
API: Fix performance regression in doc printer (#β18342 by @βfisker)
Prettier 3.7.1 can be very slow when formatting big files, the regression has been fixed.
v3.7.0Compare Source
diff
π Release Notes
v3.6.2Compare Source
diff
Markdown: Add missing blank line around code block (#β17675 by @βfisker)
v3.6.1Compare Source
diff
TypeScript: Allow const without initializer (#β17650, #β17654 by @βfisker)
Miscellaneous: Avoid closing files multiple times (#β17665 by @β43081j)
When reading a file to infer the interpreter from a shebang, we use the
n-readlineslibrary to read the first line in order to get the shebang.This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if
n-readlinesdid not already closethem.
v3.6.0Compare Source
diff
π Release Notes
v3.5.3Compare Source
diff
Flow: Fix missing parentheses in
ConditionalTypeAnnotation(#β17196 by @βfisker)v3.5.2Compare Source
diff
Remove
module-synccondition (#β17156 by @βfisker)In Prettier 3.5.0, we added
module-synccondition topackage.json, so thatrequire("prettier")can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove themodule-synccondition, sorequire("prettier")will still use the CommonJS version, we'll revisit untilrequire(ESM)feature is more stable.v3.5.1Compare Source
diff
Fix CLI crash when cache for old version exists (#β17100 by @βsosukesuzuki)
Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.
Support dockercompose and github-actions-workflow in VSCode (#β17101 by @βremcohaszing)
Prettier now supports the
dockercomposeandgithub-actions-workflowlanguages in Visual Studio Code.v3.5.0Compare Source
diff
π Release Notes
v3.4.2Compare Source
diff
Treat U+30A0 & U+30FB in Katakana Block as CJK (#β16796 by @βtats-u)
Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or βandβ. The following βCθ¨θͺγ»C++γ»Goγ»Rustβ means βC language & C++ & Go & Rustβ in Japanese.
U+30A0 can be used as the replacement of the
-in non-Japanese names (e.g. βSaint-SaΓ«nsβ (Charles Camille Saint-SaΓ«ns) can be represented as βγ΅γ³γ γ΅γΌγ³γΉβ in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. βγ΅γ³=γ΅γΌγ³γΉβ or βγ΅γ³οΌγ΅γΌγ³γΉβ).Fix comments print on class methods with decorators (#β16891 by @βfisker)
Fix non-idempotent formatting (#β16899 by @βseiyab)
This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.
v3.4.1Compare Source
diff
Remove unnecessary parentheses around assignment in
v-on(#β16887 by @βfisker)v3.4.0Compare Source
diff
π Release Notes
v3.3.3Compare Source
diff
Add parentheses for nullish coalescing in ternary (#β16391 by @βcdignam-segment)
This change adds clarity to operator precedence.
Add parentheses for decorator expressions (#β16458 by @βy-schneider)
Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.
Support
@letdeclaration syntax (#β16474 by @βsosukesuzuki)Adds support for Angular v18
@letdeclaration syntax.Please see the following code example. The
@letdeclaration allows you to define local variables within the template:For more details, please refer to the excellent blog post by the Angular Team: Introducing @βlet in Angular.
We also appreciate the Angular Team for kindly answering our questions to implement this feature.
v3.3.2Compare Source
diff
Fix handlebars path expressions starts with
@(#β16358 by @βPrinceyadav05)v3.3.1Compare Source
diff
Preserve empty lines in front matter (#β16347 by @βfisker)
Preserve explicit language in front matter (#β16348 by @βfisker)
Avoid line breaks in import attributes (#β16349 by @βfisker)
v3.3.0Compare Source
diff
π Release Notes
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.